package org.naxx.security.model.request;

import java.util.ArrayList;
import java.util.List;

public final class Resource extends AbstractRequestElement {
	
	private RequestContent requestContent;
	
	public Resource() {
		super(new ArrayList<Attribute>());
	}

	public Resource(List<Attribute> attributes) {
		super(attributes);
	}
	
	public Resource(List<Attribute> attributes, 
			RequestContent requestContent) {
		
		super(attributes);
		this.requestContent = requestContent;
	}

	public RequestContent getRequestContent() {
		return this.requestContent;
	}
	public void setRequestContent(RequestContent requestContent) {
		this.requestContent = requestContent;
	}
}
